//
//  WmcLayoutAlertItemView.swift
//  YPWatermarkCamera
//
//  Created by Json on 2023/8/1.
//

import UIKit

class WmcLayoutAlertBaseGroupView: WmcBaseView {

    private(set) lazy var stackView: UIStackView = {
        let stackV = UIStackView()
        stackV.axis = .vertical
        stackV.spacing = 12.0.wmc_autoHor
        stackV.distribution = .fill
        stackV.alignment = .fill
        return stackV
    }()
    
    private(set) lazy var titleLabel: UILabel = {
        let label = UILabel()
        label.font = 17.wmc_scaleFont(weight: .medium)
        label.textColor = UIColor.wmc_blackH1_000000
        return label
    }()
    
    override func makeUI() {
        super.makeUI()
//        backgroundColor = UIColor.YP.RandomUIColor
        // stackView
        addSubview(stackView)
        stackView.snp.makeConstraints { make in
            make.edges.equalToSuperview()
        }
        // 标题
        stackView.addArrangedSubview(titleLabel)
    }

}
